package com.cyl.manager.aws.convert;

import org.mapstruct.Mapper;

import com.cyl.manager.aws.domain.entity.ProfitDetailsStatistics;
import com.cyl.manager.aws.pojo.dto.ProfitDetailsStatisticsDTO;
import com.cyl.manager.aws.pojo.vo.ProfitDetailsStatisticsVO;
import java.util.List;
/**
 * 毛利润统计明细  DO <=> DTO <=> VO / BO / Query
 *
 * @author hxw
 */
@Mapper(componentModel = "spring")
public interface ProfitDetailsStatisticsConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    ProfitDetailsStatisticsDTO do2dto(ProfitDetailsStatistics source);

    /**
     * @param source DTO
     * @return DO
     */
    ProfitDetailsStatistics dto2do(ProfitDetailsStatisticsDTO source);

    List<ProfitDetailsStatisticsVO> dos2vos(List<ProfitDetailsStatistics> list);
}
